/**
获取前端输入内容
执行方法:go run args.go 112 444
WangGang
2018/7/21
*/
package main

import (
	"fmt"
	"strings"
	"os"
	"strconv"
)

func main() {
	fmt.Println(len(os.Args))
	fmt.Println(strings.Join(os.Args[1:]," "))
	for idx,args := range os.Args {
		fmt.Println("参数" + strconv.Itoa(idx) + ":", args)
	}
}
